<template>
	<view>
		<button type="default" @click="getUsers">用户列表</button>
	</view>
</template>

<script>
	import { getUserList } from "../../common/api.js"
	export default {
		data() {
			return {
				userlist:[]
			}
		},
		methods: {
			getUsers(){
				getUserList().then(res =>{
					console.log(res)
				})
			}
		}
	}
</script>

<style>

</style>
